package com.hjq.fcloud.bean;

import com.hjq.fcloud.utils.EmptyTextFillUtils;

/**
 * 材料明细
 */
public class DtlsBean {

    private String mat_id;//材料序号
    private MatBean mat;
    private String price;//采购单价
    private float plan_amount;//计划数量
    private FncDtlBean fnc_dtl;
    private float amount;//入库数量
    private float money;//入库合价

    public String getMat_id() {
        return EmptyTextFillUtils.INSTANCE.getShowString(mat_id);
    }

    public void setMat_id(String mat_id) {
        this.mat_id = mat_id;
    }

    public MatBean getMat() {
        return mat;
    }

    public void setMat(MatBean mat) {
        this.mat = mat;
    }

    public String getPrice() {
        return EmptyTextFillUtils.INSTANCE.getShowString(price);
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public float getPlan_amount() {
        return plan_amount;
    }

    public void setPlan_amount(float plan_amount) {
        this.plan_amount = plan_amount;
    }

    public float getAmount() {
        return amount;
    }

    public void setAmount(float amount) {
        this.amount = amount;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public FncDtlBean getFnc_dtl() {
        return fnc_dtl;
    }

    public void setFnc_dtl(FncDtlBean fnc_dtl) {
        this.fnc_dtl = fnc_dtl;
    }

    public static class MatBean {
        private String type_name;//材料类型
        private String name;//材料名称
        private String spec;//规格
        private String unit;//单位

        public String getType_name() {
            return EmptyTextFillUtils.INSTANCE.getShowString(type_name);
        }

        public void setType_name(String type_name) {
            this.type_name = type_name;
        }

        public String getName() {
            return EmptyTextFillUtils.INSTANCE.getShowString(name);
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSpec() {
            return EmptyTextFillUtils.INSTANCE.getShowString(spec);
        }

        public void setSpec(String spec) {
            this.spec = spec;
        }

        public String getUnit() {
            return EmptyTextFillUtils.INSTANCE.getShowString(unit);
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }
    }
}
